Retrieves the details of an invoice.
Supply the unique invoice ID to fetch it's details.
Ok
Bad Request
Unauthorized
Forbidden
Not Found
Internal Server Error
{- "id": "string",
- "account": "string",
- "contacts": [
- {
- "email": "string",
- "phone": "string",
- "address": {
- "line1": "string",
- "line2": "string",
- "country": "string",
- "city": "string",
- "postalCode": "string",
- "state": "string"
}
}
], - "items": [
- {
- "code": "string",
- "description": "string",
- "amount": 0,
- "price": 0,
- "subscription": "string"
}
], - "totalPrice": 0,
- "billedPeriod": {
- "endDate": "2019-08-24T14:15:22Z",
- "startDate": "2019-08-24T14:15:22Z"
}, - "status": "submitted",
- "payments": [
- {
- "driverType": "string",
- "driverId": "string",
- "description": "string",
- "chargeDate": "2019-08-24T14:15:22Z",
- "amount": 0,
- "currency": "USD",
- "last4": "string"
}
], - "stripeInvoiceUrl": "string",
- "stripeInvoiceId": "string",
- "stripeInvoiceNumber": "string",
- "pdfLocation": "string",
- "chargeInProgress": true
}